package com.annarborales.billsuofm;

public class TemperatureFarenheit extends Temperature {

	
	public TemperatureFarenheit(double value) {
		super(value);
	}

	public TemperatureFarenheit(Temperature temperature) {
		super(temperature);
	}

	@Override
	double toCelsius(double value) {
		return (value-32.0) * 5.0/9.0;
	}

	@Override
	double fromCelsius(double value) {
		return (value * (9.0/5.0)) +32.0;
	
	}


}
